<include file="__THEME__/header" />
<link href="../Public/css/purview.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/js/kissy/themes/default/editor-min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/kissy/neweditor.js"></script>
<include file="../Public/myChannel" />
<div class="contents">
<include file="../Public/admin_tree" />
    <div class="content_pur_left R">
        <div>            
            <div>
                <include file="../Public/nav_head" />
                <form name="form1" method="post" action="{:U('portal/Cms/doDeal')}">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" >
                        <tr height="50">
                            <td align="right">文章标题：</td>
                            <td><input class="in_put" style="width:300px" name="title" type="text" id="title" size="100" value="{$edit.title}"/></td>
                        </tr>
                        <tr height="40">
                            <td align="right">所属频道/分类：</td>
                            <td>{$channel.title}
                            
                            <!--<span id="tree"><select name="channelId" id="channelId" class="in_put_01">
                <volist name='channel' id='vo'>
                <option value="{$vo.id}">{$vo.title}</option>
                </volist>
              </select>
</span>-->
                                <span id="cate"><select name="category" id="category" class="in_put_01">
                            <volist name='categoryList' id='vo'>
                               <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                </select>
</span></td>
                        </tr>
                        <tr height="30">
                            <td align="right">作者：</td>
                            <td><input class="in_put" style="width:50px"  name="author" type="text" id="author" value="{$edit.author}" /></td>
                        </tr>						
                        <tr height="30">
                            <td align="right" valign="top">文章内容：</td>
                            <td><textarea name="content" cols="90" rows="30" id="content">{$edit.content}</textarea></td>
                        </tr>
                        <tr height="50">
                            <td>&nbsp;</td>
                            <td><input type="hidden" name="channelId" value="{$channelId}" />
                                <input type="hidden" name="id" id="id" value="{$edit.id}" />
                                <input type="submit" class="btn_sea" name="button" id="button" value="提交" /></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="C"></div>
</div>
<include file="__THEME__/footer" />
<script type="text/javascript">
$(document).ready(function(){	
	E	=	KISSY.Editor( "content" );

	$('#category').val("{$edit.category}");
	$('#pageTemp').val("{$edit.pageTemp}");
}); 

</script>
